package com.rc.saas.tenant.model.shop;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShopGoodsImageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShopGoodsImageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Long value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Long value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Long value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Long value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Long value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Long value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Long> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Long> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Long value1, Long value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Long value1, Long value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andImageOriginalIsNull() {
            addCriterion("image_original is null");
            return (Criteria) this;
        }

        public Criteria andImageOriginalIsNotNull() {
            addCriterion("image_original is not null");
            return (Criteria) this;
        }

        public Criteria andImageOriginalEqualTo(String value) {
            addCriterion("image_original =", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotEqualTo(String value) {
            addCriterion("image_original <>", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalGreaterThan(String value) {
            addCriterion("image_original >", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalGreaterThanOrEqualTo(String value) {
            addCriterion("image_original >=", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalLessThan(String value) {
            addCriterion("image_original <", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalLessThanOrEqualTo(String value) {
            addCriterion("image_original <=", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalLike(String value) {
            addCriterion("image_original like", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotLike(String value) {
            addCriterion("image_original not like", value, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalIn(List<String> values) {
            addCriterion("image_original in", values, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotIn(List<String> values) {
            addCriterion("image_original not in", values, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalBetween(String value1, String value2) {
            addCriterion("image_original between", value1, value2, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageOriginalNotBetween(String value1, String value2) {
            addCriterion("image_original not between", value1, value2, "imageOriginal");
            return (Criteria) this;
        }

        public Criteria andImageDetail1IsNull() {
            addCriterion("image_detail1 is null");
            return (Criteria) this;
        }

        public Criteria andImageDetail1IsNotNull() {
            addCriterion("image_detail1 is not null");
            return (Criteria) this;
        }

        public Criteria andImageDetail1EqualTo(String value) {
            addCriterion("image_detail1 =", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1NotEqualTo(String value) {
            addCriterion("image_detail1 <>", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1GreaterThan(String value) {
            addCriterion("image_detail1 >", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1GreaterThanOrEqualTo(String value) {
            addCriterion("image_detail1 >=", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1LessThan(String value) {
            addCriterion("image_detail1 <", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1LessThanOrEqualTo(String value) {
            addCriterion("image_detail1 <=", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1Like(String value) {
            addCriterion("image_detail1 like", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1NotLike(String value) {
            addCriterion("image_detail1 not like", value, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1In(List<String> values) {
            addCriterion("image_detail1 in", values, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1NotIn(List<String> values) {
            addCriterion("image_detail1 not in", values, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1Between(String value1, String value2) {
            addCriterion("image_detail1 between", value1, value2, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail1NotBetween(String value1, String value2) {
            addCriterion("image_detail1 not between", value1, value2, "imageDetail1");
            return (Criteria) this;
        }

        public Criteria andImageDetail2IsNull() {
            addCriterion("image_detail2 is null");
            return (Criteria) this;
        }

        public Criteria andImageDetail2IsNotNull() {
            addCriterion("image_detail2 is not null");
            return (Criteria) this;
        }

        public Criteria andImageDetail2EqualTo(String value) {
            addCriterion("image_detail2 =", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2NotEqualTo(String value) {
            addCriterion("image_detail2 <>", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2GreaterThan(String value) {
            addCriterion("image_detail2 >", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2GreaterThanOrEqualTo(String value) {
            addCriterion("image_detail2 >=", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2LessThan(String value) {
            addCriterion("image_detail2 <", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2LessThanOrEqualTo(String value) {
            addCriterion("image_detail2 <=", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2Like(String value) {
            addCriterion("image_detail2 like", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2NotLike(String value) {
            addCriterion("image_detail2 not like", value, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2In(List<String> values) {
            addCriterion("image_detail2 in", values, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2NotIn(List<String> values) {
            addCriterion("image_detail2 not in", values, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2Between(String value1, String value2) {
            addCriterion("image_detail2 between", value1, value2, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail2NotBetween(String value1, String value2) {
            addCriterion("image_detail2 not between", value1, value2, "imageDetail2");
            return (Criteria) this;
        }

        public Criteria andImageDetail3IsNull() {
            addCriterion("image_detail3 is null");
            return (Criteria) this;
        }

        public Criteria andImageDetail3IsNotNull() {
            addCriterion("image_detail3 is not null");
            return (Criteria) this;
        }

        public Criteria andImageDetail3EqualTo(String value) {
            addCriterion("image_detail3 =", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3NotEqualTo(String value) {
            addCriterion("image_detail3 <>", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3GreaterThan(String value) {
            addCriterion("image_detail3 >", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3GreaterThanOrEqualTo(String value) {
            addCriterion("image_detail3 >=", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3LessThan(String value) {
            addCriterion("image_detail3 <", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3LessThanOrEqualTo(String value) {
            addCriterion("image_detail3 <=", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3Like(String value) {
            addCriterion("image_detail3 like", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3NotLike(String value) {
            addCriterion("image_detail3 not like", value, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3In(List<String> values) {
            addCriterion("image_detail3 in", values, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3NotIn(List<String> values) {
            addCriterion("image_detail3 not in", values, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3Between(String value1, String value2) {
            addCriterion("image_detail3 between", value1, value2, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageDetail3NotBetween(String value1, String value2) {
            addCriterion("image_detail3 not between", value1, value2, "imageDetail3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1IsNull() {
            addCriterion("image_broadcast1 is null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1IsNotNull() {
            addCriterion("image_broadcast1 is not null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1EqualTo(String value) {
            addCriterion("image_broadcast1 =", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1NotEqualTo(String value) {
            addCriterion("image_broadcast1 <>", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1GreaterThan(String value) {
            addCriterion("image_broadcast1 >", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1GreaterThanOrEqualTo(String value) {
            addCriterion("image_broadcast1 >=", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1LessThan(String value) {
            addCriterion("image_broadcast1 <", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1LessThanOrEqualTo(String value) {
            addCriterion("image_broadcast1 <=", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1Like(String value) {
            addCriterion("image_broadcast1 like", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1NotLike(String value) {
            addCriterion("image_broadcast1 not like", value, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1In(List<String> values) {
            addCriterion("image_broadcast1 in", values, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1NotIn(List<String> values) {
            addCriterion("image_broadcast1 not in", values, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1Between(String value1, String value2) {
            addCriterion("image_broadcast1 between", value1, value2, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast1NotBetween(String value1, String value2) {
            addCriterion("image_broadcast1 not between", value1, value2, "imageBroadcast1");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2IsNull() {
            addCriterion("image_broadcast2 is null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2IsNotNull() {
            addCriterion("image_broadcast2 is not null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2EqualTo(String value) {
            addCriterion("image_broadcast2 =", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2NotEqualTo(String value) {
            addCriterion("image_broadcast2 <>", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2GreaterThan(String value) {
            addCriterion("image_broadcast2 >", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2GreaterThanOrEqualTo(String value) {
            addCriterion("image_broadcast2 >=", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2LessThan(String value) {
            addCriterion("image_broadcast2 <", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2LessThanOrEqualTo(String value) {
            addCriterion("image_broadcast2 <=", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2Like(String value) {
            addCriterion("image_broadcast2 like", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2NotLike(String value) {
            addCriterion("image_broadcast2 not like", value, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2In(List<String> values) {
            addCriterion("image_broadcast2 in", values, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2NotIn(List<String> values) {
            addCriterion("image_broadcast2 not in", values, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2Between(String value1, String value2) {
            addCriterion("image_broadcast2 between", value1, value2, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast2NotBetween(String value1, String value2) {
            addCriterion("image_broadcast2 not between", value1, value2, "imageBroadcast2");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3IsNull() {
            addCriterion("image_broadcast3 is null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3IsNotNull() {
            addCriterion("image_broadcast3 is not null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3EqualTo(String value) {
            addCriterion("image_broadcast3 =", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3NotEqualTo(String value) {
            addCriterion("image_broadcast3 <>", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3GreaterThan(String value) {
            addCriterion("image_broadcast3 >", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3GreaterThanOrEqualTo(String value) {
            addCriterion("image_broadcast3 >=", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3LessThan(String value) {
            addCriterion("image_broadcast3 <", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3LessThanOrEqualTo(String value) {
            addCriterion("image_broadcast3 <=", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3Like(String value) {
            addCriterion("image_broadcast3 like", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3NotLike(String value) {
            addCriterion("image_broadcast3 not like", value, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3In(List<String> values) {
            addCriterion("image_broadcast3 in", values, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3NotIn(List<String> values) {
            addCriterion("image_broadcast3 not in", values, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3Between(String value1, String value2) {
            addCriterion("image_broadcast3 between", value1, value2, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast3NotBetween(String value1, String value2) {
            addCriterion("image_broadcast3 not between", value1, value2, "imageBroadcast3");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4IsNull() {
            addCriterion("image_broadcast4 is null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4IsNotNull() {
            addCriterion("image_broadcast4 is not null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4EqualTo(String value) {
            addCriterion("image_broadcast4 =", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4NotEqualTo(String value) {
            addCriterion("image_broadcast4 <>", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4GreaterThan(String value) {
            addCriterion("image_broadcast4 >", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4GreaterThanOrEqualTo(String value) {
            addCriterion("image_broadcast4 >=", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4LessThan(String value) {
            addCriterion("image_broadcast4 <", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4LessThanOrEqualTo(String value) {
            addCriterion("image_broadcast4 <=", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4Like(String value) {
            addCriterion("image_broadcast4 like", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4NotLike(String value) {
            addCriterion("image_broadcast4 not like", value, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4In(List<String> values) {
            addCriterion("image_broadcast4 in", values, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4NotIn(List<String> values) {
            addCriterion("image_broadcast4 not in", values, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4Between(String value1, String value2) {
            addCriterion("image_broadcast4 between", value1, value2, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast4NotBetween(String value1, String value2) {
            addCriterion("image_broadcast4 not between", value1, value2, "imageBroadcast4");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5IsNull() {
            addCriterion("image_broadcast5 is null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5IsNotNull() {
            addCriterion("image_broadcast5 is not null");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5EqualTo(String value) {
            addCriterion("image_broadcast5 =", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5NotEqualTo(String value) {
            addCriterion("image_broadcast5 <>", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5GreaterThan(String value) {
            addCriterion("image_broadcast5 >", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5GreaterThanOrEqualTo(String value) {
            addCriterion("image_broadcast5 >=", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5LessThan(String value) {
            addCriterion("image_broadcast5 <", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5LessThanOrEqualTo(String value) {
            addCriterion("image_broadcast5 <=", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5Like(String value) {
            addCriterion("image_broadcast5 like", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5NotLike(String value) {
            addCriterion("image_broadcast5 not like", value, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5In(List<String> values) {
            addCriterion("image_broadcast5 in", values, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5NotIn(List<String> values) {
            addCriterion("image_broadcast5 not in", values, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5Between(String value1, String value2) {
            addCriterion("image_broadcast5 between", value1, value2, "imageBroadcast5");
            return (Criteria) this;
        }

        public Criteria andImageBroadcast5NotBetween(String value1, String value2) {
            addCriterion("image_broadcast5 not between", value1, value2, "imageBroadcast5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}